home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-05-01 | 2.5 KB | 95 lines | [TEXT/MPS ] |
- /*
- File: TextParser.idl
-
- Contains: International Text Parser Interfaces.
-
- Version: Technology: System 8
- Release: Universal Interfaces 3.0d3 on Copland DR1
-
- Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
-
- Bugs?: If you find a problem with this file, send the file and version
- information (from above) and the problem description to:
-
- Internet: apple.bugs@applelink.apple.com
- AppleLink: APPLE.BUGS
-
- */
- #ifndef __TEXTPARSER_IDL__
- #define __TEXTPARSER_IDL__
-
- #include <somobj.idl>
- #include <somcls.idl>
-
- #ifndef __CONDITIONALMACROS_IDL__
- #include <ConditionalMacros.idl>
- #endif
- #if FOR_SYSTEM8_PREEMPTIVE
- #ifndef __TYPES_IDL__
- #include <Types.idl>
- #endif
- #ifndef __TEXTOBJECTS_IDL__
- #include <TextObjects.idl>
- #endif
- #ifndef __TEXTCOMMON_IDL__
- #include <TextCommon.idl>
- #endif
- #ifndef __LOCALEOBJECTS_IDL__
- #include <LocaleObjects.idl>
- #endif
- #endif
-
- #ifdef __SOMIDL__
-
- #if FOR_SYSTEM8_PREEMPTIVE
- typedef OpaquePtr TTextParseRef;
-
- typedef UInt32 ParsingToken;
-
- typedef ParsingToken BasicToken;
-
- typedef ParsingToken RangeToken;
-
- typedef ParsingToken KeywordToken;
-
- typedef ParsingToken MultiChoiceToken;
-
- typedef ParsingToken ComposedToken;
-
- /*defintions for the future*/
- typedef ParsingToken RegExpToken;
-
- typedef ParsingToken GrammarRuleToken;
-
- /*definition of Pointers to tokens*/
- typedef OpaquePtr ParsingTokenPtr; /* Substituted OpaquePtr for “ParsingToken*” */
-
- typedef ParsingTokenPtr BasicTokenPtr;
-
- typedef ParsingTokenPtr RangeTokenPtr;
-
- typedef ParsingTokenPtr KeywordTokenPtr;
-
- typedef ParsingTokenPtr MultiChoiceTokenPtr;
-
- typedef ParsingTokenPtr ComposedTokenPtr;
-
- typedef OptionBits ParsingOptionBits;
-
- typedef LocaleObjectRef ParserLocaleObjectRef;
-
- /* Basic Tokens definitions (try to match system 7 tokens when possible*/
- typedef SOMLargeStruct CharacterRange; /* Derived from a struct of 8 bytes in size */
-
- typedef OpaquePtr CharacterRangePtr; /* Substituted OpaquePtr for “CharacterRange*” */
-
- /*============================================================locale object parser APIs====================================================*/
- /*======================================================Iterator creation/modifcation==========================================================*/
- /*======================================================Tokens Get/Set APIs ==========================================================*/
- #endif
-
- #endif /* __SOMIDL__ */
-
- #endif /* __TEXTPARSER_IDL__ */
-
-